// 用户模块
export const user = {
  namespaced: true,
  // 存数据
  state: () => ({
    id: '',
    nickname: '',
    avatar: '',
    token: '',
    mobile: ''
  }),
  // 唯一能改变state的数据
  mutations: {},
  // 异步+mutation
  actions: {},
  // 基于state计算属性
  getters: {}
}

export default user
